package com.juli.v2xdemo.activity;

import android.app.Application;
import android.content.Context;
import android.os.Handler;

import com.cz.basetool.ui_work.util.tts.TTSController;

public class MyApplication extends Application {
    private static MyApplication application;
    public static Context mContext;
    public static Handler mHandler;

    @Override
    public void onCreate() {
        super.onCreate();
        application = this;
        mContext = this;

        TTSController.getInstance().init(this); // 初始化语音合成


    }

    public static MyApplication getapplication() {
        return application;
    }

    public static Context getMyApplicationContext() {
        return application;
    }

}